﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class HRDS_NETBASE_Map : ClassMap<HRDS_NETBASE>
    {
        public HRDS_NETBASE_Map()
        {
            Table("HRDS_NETBASE");
            Id(x => x.GRIDDINGNETID)
                .Length(20);

            Map(x => x.GRIDDINGPARENTNETID).Not.Nullable().Length(20);
            Map(x => x.BANDWIDTH).Nullable();
            Map(x => x.NETKIND).Not.Nullable();
            Map(x => x.ISP).Not.Nullable();
            Map(x => x.REMARK).Not.Nullable().Length(100);
            DoEditableMappings();
        }
    }
}
